package model

import "time"

type Order struct {
	Id         int       `json:"id" gorm:"primary_key"`
	OrderNum   string    `json:"order_num"`
	UserName   string    `json:"user_name"`
	CreateTime time.Time `json:"create_time"`
	UpdateTime time.Time `json:"update_time"`
}

func (Order) TableName() string {
	return "t_order"
}
